package org.apache.flink.util;

import org.apache.flink.annotation.Public;

/** Base class of all checked exceptions. */
/**
 * @类名: FlinkException
 * @说明: base检查异常
 *
 * @author   leehom
 * @Date	 2024年2月17日 下午2:07:47
 * 修改记录：
 *
 * @see 	 
 */
@Public
public class ERException extends Exception {

    private static final long serialVersionUID = 450688772469004724L;

    /**
     * Creates a new Exception with the given message and null as the cause.
     *
     * @param message The exception message
     */
    public ERException(String message) {
        super(message);
    }

    /**
     * Creates a new exception with a null message and the given cause.
     *
     * @param cause The exception that caused this exception
     */
    public ERException(Throwable cause) {
        super(cause);
    }

    /**
     * Creates a new exception with the given message and cause.
     *
     * @param message The exception message
     * @param cause The exception that caused this exception
     */
    public ERException(String message, Throwable cause) {
        super(message, cause);
    }
}
